package com.group5.onlinegame.service;

import com.group5.onlinegame.dao.IRolesDao;
import com.group5.onlinegame.entity.Roles;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RolesService implements IRolesService {

    @Resource
    private IRolesDao rolesDao;

    @Override
    public List<Roles> getListRoles() {
        return rolesDao.getListRoles();
    }
}
